package String;

import org.junit.Test;

/**
 * @description:
 * @author: cyy
 **/
public class equals {

    @Test
    public  void cal(){
        String a = new String("123");
        String b = new String("123");
        System.out.println("result:" + a == b) ;
        System.out.println("result:" + a.equals(b)) ;

    }
}
